﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TimeDimPage.aspx.cs" Inherits="TabControl.TimeDimPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table>
        <tr>
            <td>
                <asp:Chart ID="Chart1" runat="server" DataSourceID="AccessDataSource1">
                    <Series>
                        <asp:Series Name="Series1" XValueMember="Time" YValueMembers="Sales">
                        </asp:Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="true">
                        </asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>
            </td>
            <td>
                <asp:Chart ID="Chart2" runat="server" DataSourceID="AccessDataSource1">
                    <Series>
                        <asp:Series Name="Series1" ChartType="Bar" XValueMember="Sales" 
                            YValueMembers="Time">
                        </asp:Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="true">
<Area3DStyle Enable3D="True"></Area3DStyle>
                        </asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>
            </td>
            <td>
                <asp:Chart ID="Chart3" runat="server" DataSourceID="AccessDataSource1">
                    <Series>
                        <asp:Series Name="Series1" ChartType="StepLine" XValueMember="Time" 
                            YValueMembers="2">
                        </asp:Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="true">
<Area3DStyle Enable3D="True"></Area3DStyle>
                        </asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Chart ID="Chart4" runat="server" DataSourceID="AccessDataSource1">
                    <Series>
                        <asp:Series Name="Series1" ChartType="Pie" XValueMember="City" 
                            YValueMembers="Time">
                        </asp:Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="true">
<Area3DStyle Enable3D="True"></Area3DStyle>
                        </asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>
            </td>
            <td>
                <asp:Chart ID="Chart5" runat="server" DataSourceID="AccessDataSource1">
                    <Series>
                        <asp:Series Name="Series1" ChartType="Funnel" XValueMember="Time" 
                            YValueMembers="Sales">
                        </asp:Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="true">
<Area3DStyle Enable3D="True"></Area3DStyle>
                        </asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>
            </td>
        </tr>
        </table>
                <asp:AccessDataSource ID="AccessDataSource1" runat="server" 
                    DataFile="~/Sample1.accdb" 
                    SelectCommand="SELECT [City], [Sales], [Time] FROM [SampleTable]">
                </asp:AccessDataSource>

    <asp:Button ID="btnChangeDimension" runat="server" 
    Text="View With Different Dimensions" onclick="btnChangeDimension_Click" />
    
    </asp:Content>
